"""
学习的测试类
"""


class Test:

    def __init__(self, name, age, sex):
        self.name = name
        self.age = age
        self.sex = sex

    def printSelf(self):
        # print(self.__class__ + self.name + ' age=' + self.age + ' sex=' + self.sex)
        print(self)
        print(self.__class__)
        print('name = %s, age = %s, sex = %s' % (self.name, self.age, self.sex))
